import 'package:caose/export/caose_provider.dart';
import 'package:rebase_project/src/base/net/NetHelp.dart';
import 'package:rebase_project/src/module/TestWidget.dart';

class MmpNotify extends CunwControllNotify {
  BaseResponseModel baseResponseModel;

  getMmpData() async {
    loading();
    await Future.delayed(Duration(seconds: 3));
    complete();
  }

  regist() async {
//    gotoWidgetSingleProvider(TestMmpWidget(),value: Mmp2Notify());
    var response = await autoFutureDialog(
        CunwNetHelp.instance.clearAllIntercepter().get("http://baidu.com"));
    print(response.toString());
    gotoWidget(TestMmpWidget());
  }

  initData() async {
    complete();
  }
}
